package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author wxy
 * @Date 2021/1/26 16:33
 * @Version 1.0
 */
@Data
@ApiModel(value = "处方订单返回体")
public class RxOrderListResp implements Serializable {
    private static final long serialVersionUID = -3060991553472570933L;

    @ApiModelProperty(value = "rxOrderNo")
    @JSONField(name = "RxOrderNO")
    private String rxOrderNo;
    @ApiModelProperty(value = "name")
    @JSONField(name = "Name")
    private String name;
    @ApiModelProperty(value = "sex")
    @JSONField(name = "Sex")
    private String sex;
    @ApiModelProperty(value = "age")
    @JSONField(name = "Age")
    private Integer age;
    @ApiModelProperty(value = "dialectical")
    @JSONField(name = "Dialectical")
    private String dialectical;
    @ApiModelProperty(value = "docName")
    @JSONField(name = "docName")
    private String docName;
    @ApiModelProperty(value = "title")
    @JSONField(name = "Title")
    private String title;
    @ApiModelProperty(value = "head")
    @JSONField(name = "Head")
    private String head;
    @ApiModelProperty(value = "depName")
    @JSONField(name = "depName")
    private String depName;
    @ApiModelProperty(value = "dType")
    @JSONField(name = "DType")
    private Integer dType;
    @ApiModelProperty(value = "payType")
    @JSONField(name = "PayType")
    private Integer payType;
    @ApiModelProperty(value = "chkStatus")
    @JSONField(name = "ChkStatus")
    private Integer chkStatus;
    @ApiModelProperty(value = "systemStatus")
    @JSONField(name = "SystemStatus")
    private Integer systemStatus;
    @ApiModelProperty(value = "hName")
    @JSONField(name = "hName")
    private String hName;
    @ApiModelProperty(value = "drugName")
    @JSONField(name = "drugName")
    private String drugName;
    @ApiModelProperty(value = "payUrl")
    @JSONField(name = "PayUrl")
    private String payUrl;
    @ApiModelProperty(value = "orderLType")
    @JSONField(name = "OrderLType")
    private Integer orderLType;

    @Data
    public static class RxInfoResp implements Serializable {
        private static final long serialVersionUID = -3785640886420151012L;

        @ApiModelProperty(value = "rxOrderNo")
        @JSONField(name = "RxOrderNO")
        private String rxOrderNo;
        @ApiModelProperty(value = "drugInfo")
        @JSONField(name = "DrugInfo")
        private String drugInfo;
    }

    @Data
    public static class RxDrugsResp implements Serializable {
        private static final long serialVersionUID = 1288636076014128433L;

        @ApiModelProperty(value = "rxOrderNo")
        @JSONField(name = "RxOrderNO")
        private String rxOrderNo;
        @ApiModelProperty(value = "drugName")
        @JSONField(name = "DrugName")
        private String drugName;
    }
}
